package com.have.blog.base.dto;

import com.have.blog.base.validator.annotation.IdValid;
import com.have.blog.base.validator.group.Delete;
import com.have.blog.base.validator.group.Update;
import lombok.Data;

@Data
public class BaseDto<T> extends PageInfo<T>{
    /**
     * 唯一ID
     */
    @IdValid(groups = {Update.class, Delete.class})
    private Integer uid;
    private Integer status;
}
